package com.os.ch2.scope;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

/**
 * @Author Matt
 * @Date 2022-01-10
 * @Desc: 编写prototype的bean，每次调用新建一个bean的实例
 * @Version V1.0
 */
@Service
@Scope("prototype")  //声明scop为prototype
public class DemoPrototypeService {
}
